package com.dmap.admin.po;

import java.io.Serializable;

public class IosVersion implements Serializable {
    /**
     * 主键id
     * 表字段 : ios_version.id
     */
    private Long id;

    /**
     * 项目编号
     * 表字段 : ios_version.app_number
     */
    private String appNumber;

    /**
     * 最小版本
     * 表字段 : ios_version.min_version
     */
    private String minVersion;

    /**
     * 最新版本
     * 表字段 : ios_version.new_version
     */
    private String newVersion;

    /**
     * 描述
     * 表字段 : ios_version.description
     */
    private String description;

    /**
     * 
     * 表字段 : ios_version.description_en
     */
    private String descriptionEn;

    /**
     * 下载地址
     * 表字段 : ios_version.url
     */
    private String url;

    /**
     * 
     * 表字段 : ios_version.md5
     */
    private String md5;

    /**
     * app上传时间，时间戳
     * 表字段 : ios_version.upload_time
     */
    private Long uploadTime;

    /**
     *  状态：1正常，2禁用
     * 表字段 : ios_version.status
     */
    private Integer status;

    /**
     * 创建时间
     * 表字段 : ios_version.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : ios_version.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ios_version
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ios_version
     *
     * @mbggenerated
     */
    public IosVersion(Long id, String appNumber, String minVersion, String newVersion, String description, String descriptionEn, String url, String md5, Long uploadTime, Integer status, Long createTime, Long updateTime) {
        this.id = id;
        this.appNumber = appNumber;
        this.minVersion = minVersion;
        this.newVersion = newVersion;
        this.description = description;
        this.descriptionEn = descriptionEn;
        this.url = url;
        this.md5 = md5;
        this.uploadTime = uploadTime;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ios_version
     *
     * @mbggenerated
     */
    public IosVersion() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.id
     *
     * @return the value of ios_version.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.id
     *
     * @param id the value for ios_version.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.app_number
     *
     * @return the value of ios_version.app_number
     *
     * @mbggenerated
     */
    public String getAppNumber() {
        return appNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.app_number
     *
     * @param appNumber the value for ios_version.app_number
     *
     * @mbggenerated
     */
    public void setAppNumber(String appNumber) {
        this.appNumber = appNumber == null ? null : appNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.min_version
     *
     * @return the value of ios_version.min_version
     *
     * @mbggenerated
     */
    public String getMinVersion() {
        return minVersion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.min_version
     *
     * @param minVersion the value for ios_version.min_version
     *
     * @mbggenerated
     */
    public void setMinVersion(String minVersion) {
        this.minVersion = minVersion == null ? null : minVersion.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.new_version
     *
     * @return the value of ios_version.new_version
     *
     * @mbggenerated
     */
    public String getNewVersion() {
        return newVersion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.new_version
     *
     * @param newVersion the value for ios_version.new_version
     *
     * @mbggenerated
     */
    public void setNewVersion(String newVersion) {
        this.newVersion = newVersion == null ? null : newVersion.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.description
     *
     * @return the value of ios_version.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.description
     *
     * @param description the value for ios_version.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.description_en
     *
     * @return the value of ios_version.description_en
     *
     * @mbggenerated
     */
    public String getDescriptionEn() {
        return descriptionEn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.description_en
     *
     * @param descriptionEn the value for ios_version.description_en
     *
     * @mbggenerated
     */
    public void setDescriptionEn(String descriptionEn) {
        this.descriptionEn = descriptionEn == null ? null : descriptionEn.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.url
     *
     * @return the value of ios_version.url
     *
     * @mbggenerated
     */
    public String getUrl() {
        return url;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.url
     *
     * @param url the value for ios_version.url
     *
     * @mbggenerated
     */
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.md5
     *
     * @return the value of ios_version.md5
     *
     * @mbggenerated
     */
    public String getMd5() {
        return md5;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.md5
     *
     * @param md5 the value for ios_version.md5
     *
     * @mbggenerated
     */
    public void setMd5(String md5) {
        this.md5 = md5 == null ? null : md5.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.upload_time
     *
     * @return the value of ios_version.upload_time
     *
     * @mbggenerated
     */
    public Long getUploadTime() {
        return uploadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.upload_time
     *
     * @param uploadTime the value for ios_version.upload_time
     *
     * @mbggenerated
     */
    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.status
     *
     * @return the value of ios_version.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.status
     *
     * @param status the value for ios_version.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.create_time
     *
     * @return the value of ios_version.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.create_time
     *
     * @param createTime the value for ios_version.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column ios_version.update_time
     *
     * @return the value of ios_version.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column ios_version.update_time
     *
     * @param updateTime the value for ios_version.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ios_version
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appNumber=").append(appNumber);
        sb.append(", minVersion=").append(minVersion);
        sb.append(", newVersion=").append(newVersion);
        sb.append(", description=").append(description);
        sb.append(", descriptionEn=").append(descriptionEn);
        sb.append(", url=").append(url);
        sb.append(", md5=").append(md5);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}